<?php
class MemberHandler {
	private $m_dbConnection = NULL;
	private $memberDAL;
	private $fakeDbPassword = "5f4dcc3b5aa765d61d8327deb882cf99";

	public function __construct(DBConnection $a_connection, $memberDAL) {
		//Database connection
		$this -> m_dbConnection = $a_connection;
		$this -> memberDAL = $memberDAL;
	}

	//Creates and return prevalidation member (It's easier to validate)
	public function GetNewMember($firstName, $lastName, $userName, $password, $checkPassword, $mail, $ssn) {
		
		return Member::Create($firstName, $lastName, $userName, $password, $checkPassword, $mail, $ssn);
	}

	public function TestMemberHandler() {

	}
}

